Updated test-spec.js