added macro tests.