added test - process.rex
added some checks to process.rex
added killall-test, some minor edits