Created test to generate the error