Updated JS tests