enhance preprocessor test to ensure attribute assignment works