add divide controller, and divide tests