Improvements to jassmine for async testing of amd projects