testClasses updated for new constructor