Finalising string reversion mechanism with more tests.