Fixed custom slabs and added a test case to InternalAddon