[BISERVER-10429] Add more thorough error handling on unit tests, mocks and implementations
Merge pull request #348 from tkafalas/5.1-sandbox-feature

[BISERVER-10429] Add more thorough error handling on unit tests, mocks a...
Merge pull request #349 from wseyler/5.1-sandbox

Changes to REST endpoints and minor changes to tests.