Added a test to capture requirement discovered in #22