Fix most specs and improve the testing environment

Line is too long. [96/80]