[task] adjusted code and test to new extension builder