added junit tester