Add before script to ensure that mongodb is up