Added if-statement support and supporting test file.