add extract lesson ID unit testing