Add tests for calculation of hyperfocalDistance, nearLimit and farLimit