LPS-45869 Change test, as taskContext is a Map now