added new unit tests for complex matrices and vectors