Corrections in js tests