UserProcess.java - added test cases