Use assertions in find_with_or_insert_with example

This lets us test it automatically and also makes it more obvious what
the expected result is.