Add config loader test
Add some console/renderer plugin tests.
Fix scaffold load failed when scaffold_dir does not exist.