Test Switch Statement

Testing switch statement in place of if.