Added tests for for loop and conditionals