Spelling corrected.

nth diagonal is not a matrix element, it is a vector. The main diagonal is what diagonal returns.
For the test to pass SymPy should support diagonal(A,n) like Matlab: http://www.mathworks.de/de/help/symbolic/diag.html