Add hex,oct and bin tests