fix spec on sensor relation
remove requirement for loading config file for spec.