Fix tests for TimeScaleSpec.js