add some rspec tests and static pages
add common template for static pages