Correct test to fetchAll
Added method to fetch all resultset