Added test case for Eq type class.
Merge pull request #265 from denisrosset/topic/interval-eq-bug

Added test case for Eq type class.