fix invalid method call from incomplete refactoring
update build script and test config