Added example and test