Added failing integration tests for issue #4