added a unit test for find format