test changing element types