added routers and separated mocha tests to their own template/page