tests: Add SET_STATE test to Client Agent unit test file.