Add unit tests for request model