test: fix `ps` command incompatible on OS X