make findOne and findAll work, start adding test cases for them