Improve ES6 test with test for const