[PATCH 21/49] dtoc: Move src_scan tests to a separate file