adding reference in test/simple for mad