AppleScript testing framework