changed appointment resolving
added test for weeklydone resolvign