introduce error_counter, test pass - that's a bug