dirst scratch at adapting typeDef tests