Initial test using groovy templates and url rewriting