- JavaScript test cases