added test for issue #27