delect function in test