Add Junit Test case
Fix issue on limit and skip count in nextObjects() methods