Updates tests and removes mock config