lib: numbers: Add verfication and test function

Every system has to be tested, and this holds true, even for a simple
numbers allocator such as this.

The implementation of the tests requires some more work though, so hang
in there!

Signed-off-by: Bart Kuivenhoven <bemkuivenhoven@gmail.com>