Test for ajax and namespace