Text this: An artificial intelligence approach to test generation