Add tests for user validation and configre validation to pass tests