I have a a function within an ES6 class that calls the constructor of another class using the "new" keyword. When I use sinon to test that class, I get an error statin