Add test for docker build fn
Break up worker and add some tests