style(tests): remove trailing comma in specs

Closes #6241