unit test for reading and writing object files
rename unit test