Added rails application and new tests