added partial FETCH support, added tests for FETCH