Unit-tests for SmartPtr, Container implemented.