testing a CPP macro for SCALAR instances