Added integration tests for transpile of if (...) {...} statements when pauses are used