updated some js
changed to TestCase