Added test for bug #35

problem seems to be actually broader than that. Thanks for the report