working saving of histogram, image  and featurepoints in test database by tool databasetool compiled through makefile in source