added Junit Test to Q4