declare steps on provide

This tests a legacy module that has two dojo.provides and both are stepped on by dojo.declare.