Added extra checks for ext storage class

@LukasReschke follow up of #7294 

I've commented out the failing test.
Currently we can't do "positive" tests because static classes are not mockable...
But at least the "negative" test is there to make sure we catch such cases.