Basic java test framework