Regression test added for [SHZ]SCAN issue #1354.
scanGenericCommand() refactoring and handling of integer encoded elements.

This commit fixes issue #1354.
Inverted variable boolean value and name after scanGenericCommand() refactoring.
SSCAN with integer encoded object test improved.