Tests for if-else, while and simple tests for try-catch-finally