Add some basic 1d minimization tests