ref #473 - avoid NPE
refs #469 - improved service test template and correct pom settings