Added additional check to ensure test cases were run correctly.