make tests into modules for nose2 compatibility