updated test to work with config in resources