test mandatory instead of optional