i'd be much happier if the test also tested that the package was installed (dpkg -l, or equivalent, or checking the existence of a file on a file system), to test more than that the generic methods did return the correct class