Goodness-of-fit tests for randomly censored data