Define a different class in every test

This is to prevent naming errors when implementing threading.