updated classify test to optionally output the required yaml by other files