cleanup
test for paginate