fixing unittests to do cors posts right
Merge pull request #175 from creighton/oldstuff

fixing unittests to do cors posts right