Gsoc layers test fixes dialog

Layercooser Dialog + Fixed test cases