use ES6 classes as specs