better setup of tests