Add new feature to allow users to specify an expected result.