Create checkDissapearedTests function