Added a file which is able to validate text-input
Added a small test engine, plus a test case for the text-input function