calendar: fix side effect in tests, fix destroy method