Provided test for using form to handle duplicate item error.

But not implemented yet.
Use form to handle duplicate item error.