added test for fetch & fetchAll method