Tests with caching and fine tunning of transitions