Fix test total is no longer calculated at server side

I fixed it by returning a DefaultAttributeMetaData, see up.