[task] adjusted code and test to new extension builder
[task] renamed variable
Merge pull request #173 from davidmoebius/extension_builder

[task] adjusted code and test to new extension builder