Fix reporting of failed tests

When we get test failures we don't want to fail the build, but
add the failed tests to a property that we report at the end of
the build. This allows Jenkins to report the build as unstable
instead of failed.

Change-Id: I49f9832b484cc063cefb8b9db1f127e607a26dfa