Move test helpers around, start implementing ParseConfig