Java test framework

gsoc review
the file path for screenshots should also be configured in an XML file