base setup for flap test