Update w.r.t. roboptim-core and modify unit tests

Note that tests 1, 9 and 10 still fail on Travis.