test that clicking save button saves location