Prevent null as valid route-controller
Prevented arrays from being valid route-controllers
Added first part of router.spec