got page state spec working