fixed a bug in the PCMMError codes/descriptions

fixed a bug in the PCMMError codes/descriptions
added a Junit test for PCMMError