Added tests for OS'es
Added support for deviceType detection inluding tests