Fixed Rails test environment