Read objects from file test