tests work and use common class