implement test for subprocess
fix argument parsing
fix argument parsing in createProcess()