Added AppleScript integrity tests