Use defer instead of promise in ember-testing