Add unit test for MutableAutoCommands

Also modify to check for equality between AutoCommand and MutableAutoCommand