Added tests for getInternalName