unit test for ParSpace class (complete).