Updated sytax issue
Removed device test that was improperly implemented