added test for creating new page