added staticpages controller
add some staticpage tests