added test model script
changes gitignore not adding any data in this folder
updates test_query
sets a test framework 'matlab-friendly' and bugfix

max_count was not reseting with every successful estimation
allows to add param_names vector to params2query
adds test data