Test case for controller initialization.