some jasmine syntax updates for ajax tests