add test for the case record is not found