add test for single error