Add feature to test error