Add unit&integration test, refine codes