fix(tests): Can't use promises that way