fix spell miss in Environment Test
fix to use string to identify Sensors
refactor Environment Test
clean up when use gcov