Test double supports attributes and lambdas