refactor test_worker + partially test init.check_meta