refactored tasks requests spec.