An innovation approach to goodness of fit tests in $R m$