test recordlinkcoverage, bug fix