Add predicate tests for the controller
Add sort descriptor tests for the controller