Java test framework

gsoc review