Adds a test case for #29