Added tests for adding tasks and schedules. Also made the maintenance store retrieval operations pagable.