This change creates unit tests for the hardwaremap.py module. It achieves 98% coverage. Signed-off-by: Lukasz Mrugala <lukaszx.mrugala@intel.com>