modifies gemfile and database config for test platform config