Test transposition of nested structure