updating integration test for issue #9, issue #13