make test return proper exit codes

we want to return something != 0 in case a test fails