Add missing JavaScript tests.