* fix https://github.com/localstack/localstack/issues/3339 * fixe lint issues * Fix review comments - move deduplication time to constants - make tests parameterized - update tests as per review comments * change variable name expectedCount => expected_count * fix tests for python 2.7 increase deduplication mock config to account for delays * ignore time mocking test in server mode