test cases for some classes and stepCount in Process.java