Fixed c++ test integer constants. Removed need to use DataINputStreams in java