WIP: Adding more use cases. Bug example for cannot pop from reference instance.