Simplify exit status codes
Add a test for non-existent files
Test that stdin is exactly -
Use 0 and 1 rather than bool types
Add isdash method