fixed core test after changing toTypeStr to getTypeStr