Fixes #3415: Update of ttl tests

fixes https://github.com/hazelcast/hazelcast/issues/3415