add a test for check POD error