Moved PagingEntitiesTest to use the new REST testing framework( RTF ).
Fixed paging in the RTF
Fixed iterator in collection class for the RTF.