added tests, templated static pages