Test sensor JS harvest unit test