make indicator spec validation stricter
use nicer assertRaises syntax