fixed routes for cockpit
fixed tests