Moved BaseTest to IO, passing test to read training files by Category.