SLOB is memory allocator for Linux kernel objects. So, it's different from user mode heap memory manager. To test it (to allocate memory from SLOB) you need to use kmalloc or kmem_cache_alloc.
Or, maybe, you can try to create Linux kernel objects such as process, file open from user space to allocate memory from SLOB. If your user mode application creates kernel objects (e.g. open file) then you should notice decrease of memory space from SLOB. Opposite if you destroy kernel objects (e.g. close file) from application.
No unit test or automated test for Linux kernel though. - How is the Linux kernel tested ?