Added specs and --puppetfile option

I'm not sure I'm overstepping, but I was bugged by the lack of tests, I hope this to be good enough for now.