writing tests for new page