added tests for createErrorMessage and corrected it
Merge branch 'master' of github.com:engineduck/vs