fix repr (0x prefix) and add repr test for selectable int