Handles test failures and now correctly reports them.
Altered expected output to match real output.