Update tests for errors