swap order of tests for better ajax testing