Made DataLearning (and test) code hlint compliant and got rid of unused vars