Added interfacetest for shutdown and lock.