Switch statements for functional testing