add some exit code tests