fix: assertEquals is deprecated
use assertEqual instead
fix: MacOS returns 1 instead of 2 on ENOENT
add: overload | operator to mimic pipe in shell
Merge pull request #1 from qiao/master

Fix: exit code of calling `ls` on a non-existent entry on MacOS is different from that on Linux