Working json ajax tests