dsolve: fix tests for matlab compat and incorrect string compare