Fix subprocess.jsm library, add some tests