Add tests for # subproblems in knapsack problem

Added tests for determining # subproblems required to get the max value
from knapsack problem.