Added in test for indeterminate state. Switched indeterminate state to look for 'undefined' rather than 0.5 per PR suggestions.