Prepares config for testing