modified the test script to findAll