Extract integration test.
Prepare base of publish test.
Test exit codes.