before testing add sensor class