Test drawing diagonal lines