Fixed some errors in REST API tests.
Merge branch 'david-api' of github.com:Kae7in/cs373-idb into david-api