Goodness Of Fit Tests For Object Data