Add test to check if return code is 2 on unknown command