Added tests for transpose.