principal diagonal test passing, added direct test