CP-8629: Unit tests for devscan

Add Unit tests for devsan.py

Signed-off-by: Mate Lakat <mate.lakat@citrix.com>