Remove unnecessary "unrestrict_primary_key" from Parish, add planning_app test