add a static lib for testable code