Testing multiple switches