Fixes bug 888423 - Fixed typo in search page, added pagination unit test.

@peterbe r?