added some specs for deferreds