fix redundant operations in is-equal; add TODO blocks in expectation.js