Created unit test for Complex.scala