added test for bada device; small fix for samsung device detection