Add first integration test

related to issue #444