Added more robot tests. Fixed smal AJAX bug