Add magic package tests