clean up
make sure that file exports work with testJob and add unit test