Fix some bug and add new test case
Finish the unit test case and fix some bug. Final version
Merge branch 'master' of https://github.com/Mekiis/LP