I've already got some unit tests which test the setting behavior. Here the setup is mostly for integration tests.  I can happily add it if you think it would be beneficial.