test with static library.