Merge change 5408

* changes:
  Rewrite compiler test using python.