Moved the Linear test in a own class
Cleaned it up a little