Fixing some failing tests in BLAS