Add basic test for resultsets