Added Scenario 1 and wrote test for it. It leaks when using the standard allocation method. André, fix it. :)