preparations for pytest