added staticpages
added tests