add sources_manager's test case;
sources_manager memory leak debug;