tasks api mock