acceptance tests for matlab wrapper