Making salt.states.test python3 compatible
Merge pull request #17598 from nmadhok/states-python3-test

States python3 test