add test for changing active process limit to less than the active
process count
add some error code checks