Added spec for -> {} in BasicObject class.