fixing npm test and exposing weak ref objects 0.0.2