convert to NAN@1.3.0 for Node 0.8->0.11+ support
added "test" script