Signature for double generic fixed and test added. (#547)
Merge pull request #549 from iskiselev/SignatureCacheDoubleGeneric

Signature for double generic fixed and test added. (#547)