Committing tests for pagination. Also private function to start search
and pause after x milliseconds.