Remove JS constant use from tests.