Put BLAS tests in package spire.matrix.dense.tests as all the others

Then

> core/test-only spire.matrix.dense.tests.*

will run all the tests including the BLAS tests.
Fix bugs that would cause the test to run for ever