Add Format comparison unit tests