Refactor PangramsTest