Add tests for the "req" command, -addext flag