Added tests for compute_n_dofs and compute_mults