Removed event testing code