fix change-directory for sagittarius, add tests