added test to check for missing macros
added collection macro checking