added tests for stems and files_loaded