added return statement to cursor.skip
added aggregation test
removed whitespace