adds and tests end current assignment callback