Skip invalid json decode test if non-strict decoder presented
Add expected error string for ubuntu systems
Merge pull request #551 from kkopachev/unittests-fix

Little unit test fixes