ignore lib directory
fix tests
keep the status and code of original error object
0.1.3