Improved test case to try validation exception