Removed ENV option for the DB when in test mode
Fixed issue created by allowing nil group on the user model