More compiler error fixes and tests. Add operator== and operator!=