refactor hardwareinfo and testcenter account implementations