Is there no guarantee of ordering when coming out of editBoluses?  Having to search through an array every time you want something is generally slow (not that it matters for tests, but tests are often where people learn how to do things and if they learn that they always have to iterate through the array to find what they want, that'll be something that they then have to unlearn).