Added example and a basic test