Add positions control
Add positions control
Fix apitest