[INTERNAL][FIX] m.Switch: fix unit tests error

Change-Id: I8eed1087c585973fc99e453738b892663c9d2b93
Merge "[INTERNAL][FIX] m.Switch: fix unit tests error"