yeah I am unsure about that as well. The `right` way to test this would be exercising a behavior that ends up calling value(object) and then raises the error/exercises a different behavior.

However the downside is, that it will most likely be a much bigger/more complicated test set up. Dunno if it's worth the cost so didn't wanna start with it (as I was unsure if this change is even welcome).

Happy to try out a more behavior driven approach for testing.