Add fail test case for public API