Add inverse, conjugate, and equals functions to the Complex numbers. Add an IMAGINARY constant to represent the imaginary unit. Also, add unit tests for different types.