need to fix cabybara testing for AJAX