fixed tests, added stuff to pmserver, added addprocess back