Closing errors from lack of test coverage