fixing tests to use config.objectHash function