Added Freemarker dependencies and test class.