Testing a rails server