Adding switching test