update tests for dimming
Add global dimming
rename examle
Add support for multiple targets