In test_lCase case:
def test_lCase(): assert shorten("TWitTER") == "TWtTR"
should read: =="TWtTER"
you missed an "E"