This one was picked up in passing but yes the tests could be cleaned up more generally and other valid object creation methods could be factored out to library.py