add tests for failedMethod() and failedAccept()
increase test coverage to 100%