added PHPUnit tests for the ElseIfTask