enhanced Junit test