migrate to nan 1.1.0
try to fix tests