tests are passing file object is built