[#224] updating test and reaper script for /bin/sh support