Added basic test for mainproc.py, string output for it also.