changed Test for Unit to have proper constructor