add more specs to test actual pagination and header setting