convert tests from ct to eunit