Added first Tests; modified bytes->hex function.