moved class test to abstract chosen