Fix tests for NodeJS v0.11.13. Close #369

From v0.11.13 order of script loading was changed again.
Missed tests compatibility for v0.11.(< 13)