tests, native: fixup for cpuid

- adopt test name to new scheme
- make cppcheck happy / dont overwrite the target memory location twice
- fix license header