added test for writing & reading executables. The test succeeds