Removed a non-working test and an extra line from the Ruby snippet.