macro pass tests

compile macro pass tests after use entity(param)