move stubs into own file
switch to stubs for coefficients test
switch to stubs for parameter test
use stubs for extrema test