Add test for syncing packages with a non-default prefix

This test currently fails because of a bug.

In reference to #33.