Add amd mocker

[ci skip]
Use order plugin with sinon interface

Sinon modules need to be loaded in a certain order to deal with
interdependencies.

[ci skip]