Build: Put RAILS_ENV == "test" guard around test group in Gemfile

Signed-off-by: Tim Serong <tserong@suse.com>