Added end to end test suite and test for issue #99