Add ifdef for debugging. Modify this snippet.
Fix test name in getst-* macros.
Add ifdef __cplusplus extern "C" { snipet