test adding a new class