Adding factories and unit tests for UnityRequest.