Ben: adding test for ajax