Make api-test not depend on user.dir
Add test to initialise /var/lib/pallet
Add error output to tests