Tests. Fixes test warnings related to duplicate class definition