[test] AbstractService: Add simple test for listStates