add test for creating import jobs, refactor form posting