Added tests for issue 65
Fixed #65