Add test interface, comments
Add test interface, comments
Update doc, refractor code