fixed some logic errors in normalize_language_attributes
added normalize_language_attributes tests
reformatting of exceptions
switched print statement in bmpm to an exception
fixed first part of bmpm test
spacing