fix: assertEquals is deprecated
use assertEqual instead
fix: MacOS returns 2 instead of 1 on ENOENT