Refactor: Parameterized CalculateSideTest.