fix string formatting in tests, reduce indentation in words.go