Improve logic for non-required se parameter in test (by hack).