#3 error handling unit tests for topic service