small changes to js tests