Add simple unittest which failed because foreach over assoc array is in unspecific order