Added testing for balance factor.