TestItem class for unit testing.