JSCS and JSHint fixes in tests/.