Added auto tests for sensor - js spec and specrunner.html file