adding java unit test example