Added test for workaround given in #34