Add promise tests