instructive, but failed attempt to add unit test