unit-tests added for apply() for DenseMatrixOperator