Fixing old test by registering ArgumentParser.