Add functional tests for partials, layouts and content