fix default host and port values. Add integartion tests