Goodness-of-fit testing for fractional diffusions