JSCS and JSHint fixes in tests/core/.