Update error tests
Added more error test
Update
Export crawler as a constructor for cleaner code
Update doc to reflect node crawler module.export change