Add SpiraTest calculation logic.