testing JavatoJS functionality