create/drop test and development databases only if RAILS_ENV is nil

Closes #13625