Adjusted tests, no longer using default setting for byte encoding by adding ByteEncoder utility class.