remove trailing spaces
fix sensor_management_spec and fix bug on retrieve
clean up spec_helper
fix bug on Time.now
fix bug on retrieve! on sensor class