http testing with ruby