Improved algorithm for test input data creation. Also added a new test dataset.