check the constructor can instantiate the class template