Updated the Unit-tests to testing publish and cleaning up after running. Fixed issue in user-delete.

The API will always receive the user-id as an string, but it is stored as an integer, so you would end up having 1 === '1', which failed.