add badges
copy DatabaseTestCase from psc