Make copyright preprocessor generic

Change existing unit test to cater for generic preprocessor.