fixing the self checking test