Move the ReverseInput test to an example file