TestKnapsackAlgo: added check of reading for knapsack.txt