Updates to Gemfile
Test explicitly that value is not nil
Adding in longer sleeps to mongo config