Add tests for --atscript option