add invalidate option to delete subscription
add key invalidation tests