Minor test fix
Fix JS spec