Added tests for the permission on the weight field.