Adding ajax tests