BUG: Use assertEqual rather than assert for more informative error
message