Updated learn and test modules