update malory to return a Promise on init
fixed tests