Add failure tests to Format test