Text this: A machine learning approach for automatic testing