Added unittest for checking for invalid aliases in generated code for #2357
Replacing all '.' (dots) with underscore when generating classaliases. Fixes #2357
Merge branch 'develop' into issue/2357
Merge branch 'issue/2357' into develop