Added test. Some recommendations on regression.rb