test: Refactor es2015 slightly for the benefit of babel
test: Refactor es2015 slightly for the benefit of babel

Babel was choking on the previous arrow function in the class.

Nailed-it/Designify,Nailed-it/Designify