Fixed warning output when skipping test