Fixing tests and an issue with not checking configs