revise cat api
abtest code wrapup for further test
Merge pull request #79 from unidal/abtest

for further integration test