Fixed the user guide samples tests by updating the fixture code.