add tests and new method for adding config to individual request