Fix broken unit tests with node v0.11.13+ (hack)