Add exit return code for unit tests