s3-selftest: Add a substituions testcase