Fix equality testcase
Fix example clean target in makefile for operating systems that don't use .so as shared library extension