Adding JUnit for three dimensional widget factory