packer: add a test

Add a test for packer. It validates a very sparse and simple template (no external dependencies).