Add unit test for adding a package file via CLI

Re #20