Add tests: Improved error pattern
Update dependencies: Change version of nan.