fix division factor for semi annual frequency
fix broken test