add unit tests for workers and settings modules