fix(tests): Add a test case for where exit code is specified as a string