Fixed test cases and
modified code of byte generation in hbase