added unit test. fixed transpose/conjugate inconsistency