Added RSpec tests, overrode === with deep equality.