refactor(machine): Make caller of New run RefreshState
feat(test.sh): run with -cover; print current pkg
test(machine): add testing of Machine.HasMetadata
refactor(machine): break up machine tests
test(unit): Add testing of SystemdUnitFile
Merge pull request #142 from bcwaldon/testing

Add unit tests