OneWorker refactoring
added missing tests for OneDataAccessor
added tests for OneWorker
formating changes suggested by rubocop