some test code that learn boost lib