added another test for language uniqueness, emit test fails
bandaid fix for uniqueness constraints and some other changes