add linear fit test

Authored by sgerlach on Apr 6 2018, 11:07 PM.