Use Rails.root instead of an explicit path for tests