Add failure tests to APInt unit test.