Rename test variable
add paginated query
Most of the type wizardry implemented
painted into a corner