refactor sensor test
extract sub class follow sensor behavior
extract sub class window sensor
extract sub class motion sensor
extract sub class fire sensor
override getMessage in each behavior
short form if clause
remove duplication override getMessage in each sensor and apply abstract class, method for this