Unit test for NelderMead init