The prices depend on the database being created
Fix paging bug and add random endpoint.

Add tests to ensure that paging and the redirect endpoint work.

Fixes #2. Fixes #6