I have been working on handling soft failures in some golang functions, and want to create some unit tests for the various failure scenarios. For example some of the checks