TTT with unit testing