Simplify signature of test(), returning result directly

I removed the callback; the outcome message is now returned
by test() directly instead of the boolean result. The boolean
result of the test can be achieved by comparing the first letter
of the outcome with 'S' (SUCCESS) or 'E' (ERROR: ...).