Ensure forbidden attributes errors are raised