ISPN-4085 Random failures in StateProviderTest due to race condition

Use a mock executor service for StateProviderTest.test2()