Adds test:prepare task in before script for travis ci