fixed issue #48, use proper exit code on error
add exit code tests
bumped to 0.2.0