[#51392179] Test User model.

- Optimize imports.
- Added TestExecutorService to make threads synchronous while testing