Testing a rails a rails application