Reinforced unit test by removing precalculated numbers