Fixed controllers and controller tests for objects and export sets.
Fixes #307.