Added Rails test