tests for ad states