Replace Test::Unit with RSpec

Existing tests have been rewritten using RSpec.