Fixed pagination karma tests.