Added test to buddy and fixed slab init