Add equivalence class test