Fix error in constraint tests

Objects were not declared properly ('actions' keyword missing)