Add integration tests
Fix bug with custom hostname
Merge pull request #1 from action-io/integration-test

Fixed a bug with custom hostname & add integration tests