Test refactoring: move StringWeight into its own header
WFA::endOfEpsilonChain with tests