Tests for signatures controller and terms controller