Add test to make sure lockup container is removed if it was

* generated and we have no more lockups remaining.