Added test to check issue #177