Fix task_occurrences tests
Fixed all tests, add forgotten files