cpp-tests
add binary read to test-cpp