Support executing in test file