scripts: break tests down from type structure
scripts: switch to failing to classification tests
scripts: fix classification logic