Remove test for state validation

Since state is no longer and INT, the validation and the test for it
will have to be redone
Adapt to recent changes in pyfarm.core.enum