Added lease seconds handling.
Fixed tests.
Added assert for subscription lease.
Merge branch 'feature/lease-seconds' into develop