Added macro based flexible test writing framework