tests: add more tests for controller

The tests verify that bug #616846 is indeed fixed.
1 file changed