First working test

Fixed printing to amcpresults to have proper newlines
Second working test. Now testing quadratic and linear behavior.