add unittest for Complex