add solo library for testing,and write some test cases