Js fix tests