Variable types size bug fixing, more test cases

1. rid off the String type to byte[] to preserve correct bit shifting
2. more tests added, unluding real life test and test for arrays
contained '\0' symbols.