Issue #504 first test added.

--HG--
extra : amend_source : 8bf158be6ec8cba1f8ec647cfcd996d9a419bdcc
Fixed third issue from #504.
Merge pull request #566 from iskiselev/Issue504

Generic signature translations