js tests part 2