- Use UserCheckInterface instead of concrete UserChecker class and fix unit tests.