Get promise tests passing