fixed bug in PCal unit test, issue  #10 is resolved