Add validation check on number of features in dictionary
Add jvm opts to forked tests