adds test for ascending diagonal check