Ensure composer is up to date and we get the latest dependencies
Created a test for cache directory permissions
Create each cache directory separately

This is to ensure the permissions are set correctly on each one