isEmpty assertion removed