Fixed tests for update deployment trigger
fixed bug introduced in Feb 20 commit

3e6a39c743dc2d7159d75fd0e8a916367b2dca08
Global changes to tests

fixed return values and cleanup code for failures
Finished cleanup of database tests
Corrected error message in CollarFile_Delete