Plesk provides several test pages that you can use for checking the scripting features, testing database connections and mail sending.
Click an icon to see test pages for different scripts: