Fixed the integration tests bash script