Add limit and offset tests

One currently fails