basic testing for reversestring