Ported operation service leak tests from maintenance branch.

See issue #1693. 

*PS: This PR contains no fixes, issue is already fixed by invocation system change. Just ported tests..*