Clean up the test code. Add a dependency on openblas.