Converted the old Test::Unit tests to RSpec.