moved partials template app code to the test file