Added post-build tests to packaging process