Try to fix failing tests under node 0.8 on Travis due to npm issue.