Added tests for issue #100