Fix test behaviour on failure

The test_i2c_slave application previously incorrectly reported tests as
PASS if an earlier test failed. This fixes the bug and adds a SKIP
result for these cases.