adding Junit Tests