ported tests from cms for find and findAll