Added Tests to prevent future regression
merged branch lyrixx/tests (PR #1179)

This PR was squashed before being merged into the master branch (closes #1179).

Discussion
----------

Added Tests to prevent future regression

Theses tests do not pass at 1.13.0

could be linked to 1b0a54189c859af577954dc03ea2f41faf5dd834

Commits
-------

8410f8c Added Tests to prevent future regression
removed unneeded variable