spec flat hash with nil value