use TestBefore and TestAfter fns