Improvements on the integration test, the dist task is now working