Mock for more coverage

Introduced Mock to extend test coverage.
The additional tests have been executed only in emulated mode.