Test print_installed_kernels method