incremental updates to tests, still need to get the mock/stub for dojo/when to work correctly