Spec test passed until adding DenseMatrix