Updates test

Adds total results count test when retrieving all results from the
database.