issue #5685: replace create functions with operator new in NewEventManagerTest.js
issue #5685: replace create function with operator new in FontTest.js
issue #5685: replace create functions with operator new in ActionManagerTest.js
Merge pull request #595 from joshuastray/use_new_in_sample

issue #5685: replace create functions with operator new