make utils.check_symmetric future-proof

Two things:
- convert to CSR, CSC, COO if necessary
- add ``dok`` input to tests, which was left out previously