Tests for ControllerLib