Testing use of Factory for joint classes