added test Junit testing