Add hardware config detection test