prepare test config