Pick sweep interval from ttl
Start implementing tests