Correctly retrieve status message with embedded spaces.
Add additional units tests for REST api.