The test was not passing in google3 due to allocator_may_return_null being true there. Change the test to a lit test so that we can test both situations.
lgtm