Testing puppet code