Add test case for object file.