added test for new page form and fixed spec indentation