original substitution tests pasting