first tranche of unit tests (common_classes mostly done)