remove def testing code