added unittest that tests the empty constructor