add compile statement to testScript
modify TODO