fixes label association to select box, and adds test for indicator creation.