fix tests for sentence detection