create dynamic library and run a test with boost library