Test for controller_map key in config once.

Also, ensure that controller_map is an array as the parameter to
setControllerMap() is type hinted.
Add test to check that view_manager config key can be an object that implements ArrayAccess.