tests/check/libs/controller.c: Add test for the previous fix; add some more tests...