fix tests for email store plugin