created test_control_flow.js

test Protractor control flow