Convert dojo/_base/declare tests to intern

If I set it to undefined declare doesn't extend it.