Updated test to use example