fixed tests source parsing from DOM config