Remove mock and override sys.argv.