Fix test provided with Play-Java template

Test provided with Play-Java template try some rendering without a running application: https://playframework2.ci.cloudbees.com/job/play2-PRs/2567/consoleFull