implemented close with test results