Update test to use new ajax call instead of standard HTTP POST.
Merge pull request #539 from code-dot-org/fix-test

Update test to use new ajax call instead of standard HTTP POST.