Add first integration test.

Code coverage is run with `scoverage:test` command and with this single test it's just under 30%.