[PATCH 5/5] binder: encapsulate individual alloc test cases