Try to fix the compiler error on travis, add a template argument for a DenseMatrix instance in the test fucntion