Unit test for NeedsPcrTestCalculation