Rename test_chunk_manipulation to chunk_manipulation_util
Start refactoring cleanup_orphaned_cmd.js