Add Intern unit tests for dojo/when