#777 Added intermediate class to handle connection and enabled tests
Merge pull request #781 from krzyk/777

#781: pull request #777 Added intermediate class to handle connection and enabled tests