Add PuppetDbClient::getNode() + Tests refactoring