Fix Promise faults, add test