ralloc: Add some basic unit tests.