Base classes for unit and browser testing django apps