add unit tests for TComplex