More accurate way of finding passed / failed tests.