advanced setup for Test