Fix most specs and improve the testing environment

Align the elements of an array literal if they span more than one line.