ncm-puppet: fix tests

For "is" to work properly we must pass a string to it. So we just convert to
string our files.

Fixes #189.

@sartiran, please review this code before. I'd like to merge it ASAP.