Update switchlight-common and fix module utests

Reviewer: @rlane
cc: @ducwindow