Adding test for matrix transpose