Test cases for the existsing PackageHandlers

some of them are unfinished, look for TODO