Fixes bugs in optimized list manager implementation
Makes tests repeatable despite of installed extension