Fix composer autload dumping for commands

Similar to #6595 
Please put 2 blank lines between each method in a Test class.