refactor test for static page
finish layout and routes