Added tests to test findOne and find