Fixed code coverage errors.