remove dependency on chai as promised