Added functional test for toggling Camera flash modes.