modifed the test example