added iteration and compound statements to test