pull Test class of the constructor

should be safer I think