Fixed test with js