Simple java class testing framework