This PR migrates existing lint to use pre-commit hooks
The current unittest folder is too large and contains too many files and too many components. This PR refactors the unittest folder by moving the files to the corresponding folders.