create dll lib and test for lib