Send a 406 when package is already registered
improve testing