Make indicator.getData throw an error if unknown type, add test for
indicator.formatData