added test for fetch & fetchAll method, ref #90