Update tests.
Setup the deploy system.
Fix to the post buildpackage hook.