Add in tests for full restful interaction